package com.holly.unit.bpmn.activiti.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.holly.unit.db.api.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description: 脚本管理
 * @Author: holly
 * @Date:   2022-03-17
 * @Version: V1.0
 */
@Data
@TableName("act_z_script")
@EqualsAndHashCode(callSuper = false)
public class ActScript extends BaseEntity{

	/**创建用户id*/
	@ExcelProperty(value = {"创建用户id"}, index = 0)
	@TableField("USER_ID")
	private Long userId;
	/**删除标记：Y-已删除，N-未删除*/
	@ExcelProperty(value = {"删除标记：Y-已删除，N-未删除"}, index = 1)
	@TableField("DEL_FLAG")
	private String delFlag;
	/**备注*/
	@ExcelProperty(value = {"备注"}, index = 2)
	@TableField("SCRIPT_REMARK")
	private String scriptRemark;
	/**脚本内容*/
	@ExcelProperty(value = {"脚本内容"}, index = 3)
	@TableField("SCRIPT_CONTENT")
	private String scriptContent;
	/**脚本语言*/
	@ExcelProperty(value = {"脚本语言"}, index = 4)
	@TableField("SCRIPT_LANGUAGE")
	private Long scriptLanguage;
	/**脚本类型*/
	@ExcelProperty(value = {"脚本类型"}, index = 5)
	@TableField("SCRIPT_TYPE")
	private Long scriptType;
	/**脚本名称*/
	@ExcelProperty(value = {"脚本名称"}, index = 6)
	@TableField("SCRIPT_NAME")
	private String scriptName;
	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
	private String id;
}
